import request from '@/router/axios';




export const add = (row) => {
  return request({
    url: '/api/hg-quality/rule/quality-rule-item/add',
    method: 'post',
    data: row
  })
}

export const update = (row) => {
  return request({
    url: '/api/hg-quality/rule/quality-rule-item/update',
    method: 'post',
    data: row
  })
}


export const remove = (ids) => {
  return request({
    url: '/api/hg-quality/rule/quality-rule-item/remove',
    method: 'delete',
    params: {
      ids,
    }
  })
}

// 量具编码列表
export const getMeasuringCodeList = () => {
  return request({
    url: '/api/hg-public/equipmentinfo/findAll?materialType=EJ',
    method: 'get',
    params: {
      
    }
  })
}
